//
// Created by 郝羽 on 2018/2/7.
//

#include <iostream>
#include <string>

extern "C" {
#include <libavcodec/avcodec.h>
#include <libavformat/avformat.h>
}

#include "compare.hpp"

int main(int argc, const char* argv[]) {

    av_register_all();
    avcodec_register_all();

    if (argc != 3) {
        std::clog << "comp <input1> <input2> " << std::endl;
        return -1;
    }

    Input i;

    Compare compare;
    std::string f1(argv[1]);
    std::string f2(argv[2]);
    compare.Files(f1, f2);
}